﻿#region Copyright(C) 2012 NCS Pte. Ltd. All rights reserved.

// ==================================================================================================
// Copyright(C) 2012 NCS Pte. Ltd. All rights reserved.
//
// SYSTEM NAME	:   iConnect.Azure Application Framework
// COMPONENT ID :   NCS.IConnect.Azure.Diagnostics.AzureStorage.ICloudStorageAccount
// COMPONENT DESC:  	
//
// CREATED DATE/BY:  08 June 2012 / Lu Ya Ming
//
// REVISION HISTORY:	
// DATE/BY			SR#/CS/PM#/OTHERS		DESCRIPTION OF CHANGE
// ==================================================================================================

#endregion

using Microsoft.WindowsAzure;

namespace NCS.IConnect.Cloud.Core.AzureStorage
{
    /// <summary>
    /// The interface of cloud storage account.
    /// </summary>
    public interface ICloudStorageAccount
    {
        /// <summary>
        /// Gets the credentials.
        /// </summary>
        /// <value>
        /// The credentials.
        /// </value>
        StorageCredentials Credentials { get; }

        /// <summary>
        /// Creates the cloud table client.
        /// </summary>
        /// <returns></returns>
        ICloudTableClient CreateCloudTableClient();

        /// <summary>
        /// Creates the cloud BLOB client.
        /// </summary>
        /// <returns></returns>
        ICloudBlobClient CreateCloudBlobClient();
    }
}
